package com.offcn.test;

public class Demo02 {
    public static void main(String[] args) {
        int s=0;
        for (int i=1;i<10;i++){
            s+=i;
        }
        System.out.println(s);
    }
}
